//提现结果查询 模型
class PaymentWithdrawQueryModel {
  Response? response;

  PaymentWithdrawQueryModel({this.response});

  PaymentWithdrawQueryModel.fromJson(Map<String, dynamic> json) {
    response = json["response"] == null ? null : Response.fromJson(json["response"]);
  }

  static List<PaymentWithdrawQueryModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(PaymentWithdrawQueryModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    if(response != null) {
      _data["response"] = response?.toJson();
    }
    return _data;
  }

  PaymentWithdrawQueryModel copyWith({
    Response? response,
  }) => PaymentWithdrawQueryModel(
    response: response ?? this.response,
  );
}

class Response {
  String? requestNo;
  ResultMap? resultMap;
  String? retCode;
  String? retMsg;

  Response({this.requestNo, this.resultMap, this.retCode, this.retMsg});

  Response.fromJson(Map<String, dynamic> json) {
    requestNo = json["requestNo"];
    resultMap = json["resultMap"] == null ? null : ResultMap.fromJson(json["resultMap"]);
    retCode = json["retCode"];
    retMsg = json["retMsg"];
  }

  static List<Response> fromList(List<Map<String, dynamic>> list) {
    return list.map(Response.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["requestNo"] = requestNo;
    if(resultMap != null) {
      _data["resultMap"] = resultMap?.toJson();
    }
    _data["retCode"] = retCode;
    _data["retMsg"] = retMsg;
    return _data;
  }

  Response copyWith({
    String? requestNo,
    ResultMap? resultMap,
    String? retCode,
    String? retMsg,
  }) => Response(
    requestNo: requestNo ?? this.requestNo,
    resultMap: resultMap ?? this.resultMap,
    retCode: retCode ?? this.retCode,
    retMsg: retMsg ?? this.retMsg,
  );
}

class ResultMap {
  ResultMap();

  ResultMap.fromJson(Map<String, dynamic> json) {

  }

  static List<ResultMap> fromList(List<Map<String, dynamic>> list) {
    return list.map(ResultMap.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};

    return _data;
  }

}